package com.zhao;

import com.zhao.concreteStrategy.StrategyA;
import com.zhao.concreteStrategy.StrategyB;
import com.zhao.context.SaleMan;

public class Client {
    public static void main(String[] args) {
        SaleMan saleMan1 = new SaleMan(new StrategyA());
        saleMan1.showSalestrategy();

        SaleMan saleMan2 = new SaleMan(new StrategyB());
        saleMan2.showSalestrategy();
    }
}
